@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
p {
    padding: 0;
    margin: 0;
    line-height: 1.4;
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;
    color: white;
}
* {
    margin: 0;
    padding: 0;
    --task-size: 5rem;
    --task-margin: 0.9rem;
    --cell-gap-size: 1rem;
    --task-border: rgb(172, 172, 173) 0.1rem solid;
    --button-background-color: #9b5dec;
}

.glass {
    /* From https://css.glass */
    background: rgba(200, 244, 249, 0.21);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.3px);
    -webkit-backdrop-filter: blur(6.3px);
    border: 1px solid rgba(155, 221, 228, 0.34);
}
.addTaskBtn {
    position: relative;
    top: 0.5rem;
    left: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid lightgray;
    border-radius: 50%;
}
.addTaskBtn::before,
.addTaskBtn::after {
    content: "";
    position: relative;
    left: 0.1rem;
    top: 0.45rem;
    display: block;
    width: 1rem;
    height: 0.1rem;
    background: lightgray;
}
.addTaskBtn::before {
    transform: rotate(90deg);
}

.circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}
.green-color {
    background: rgb(70, 235, 142);
}
.red-color {
    background: rgb(247, 40, 74);
}
.large {
    font-size: large;
}

.header {
    display: grid;
    line-height: 1.5;
    background: #1f2328;
    height: 8vh;
    width: 100%;
}
.header__item-container {
    height: 50%;
}
.header__item-container {
    grid-template-columns: 60% 40%;
    margin: auto;
    width: 90vw;
    column-gap: 16px;
    row-gap: 16px;
}

.header__nav-container {
    grid-template-columns: 25% 25% 25% 25%;
    height: 50%;
}

.text-white {
    color: white;
}
.pre-main {
    width: 100%;
    height: 85vh;
}
.pre-main__nav-area {
    position: relative;
    width: 100%;
    height: 10%;
}
.main {
    position: relative;
    width: 70%;
    height: 90%;
    left: 15%;
}
.nav {
    position: relative;
    width: 70%;
    height: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 60% 40%;
}
.nav-container {
    margin: auto;
    column-gap: 16px;
    width: 100%;
    row-gap: 16px;
}
.nav-container__items {
    width: 100%;
    grid-template-columns: 25% 25% 25% 25%;
}
.nav-container__items a {
    color: black;
}
.header__nav-container__item a {
    position: relative;
    vertical-align: middle;
}
.header__nav-container__item img {
    height: 35px;
    cursor: pointer;
}
.header__nav-container__item p {
    padding-top: 6px;
}

.footer {
    width: 100%;
    height: 6vh;
    position: fixed;
    bottom: 0;
}
.header-void {
    height: 50%;
    width: 100%;
}
.author {
    position: absolute;
    width: 40%;
    height: 50%;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
}
.author p {
    color: rgb(150, 146, 146);
    text-align: center;
}

.border-bottom {
    border-bottom: lightgray 1px solid;
}
/* .profile-frame__right__progress {
    height: 10%;
} */
.profile-frame__right__progress-container {
    display: flex;
    position: relative;
    text-align: right;
    height: 50%;
    top: 25%;
}
.profile-frame__right__tasks-container {
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: var(--cell-gap-size);
}
.addNewEmptyTasksBtn {
    position: absolute;
    top: 20%;
    left: calc(50% - 10rem);
    height: 5rem;
    width: 19rem;
    font-size: 1.2rem;
    background: transparent;
    border-radius: .5rem;
    border: solid 2px lightgrey;
}
.addNewEmptyTasksBtn:hover {
    background: lightgray;
    transition: ease-out .5s;
}
.task {
    width: 5rem;
    height: 5rem;
    border: lightslategray 1px solid;
    border-radius: 10%;
    box-shadow: rgb(173, 169, 169) 3px 3px;
}
.task:hover {
    transform: scale(1.1);
    transition: ease-in-out 0.3s;
}

.addTaskBtn:hover {
    transform: scale(1.2);
    transition: ease-in-out 0.3s;
}

.task p {
    position: relative;
    text-align: center;
    padding-top: 0.5rem;
    color: #0b0217;
    overflow: hidden;
}

.profile-frame__right .taskDone {
    border: none;
    transform: scale(1.05);
    padding: 1rem;
    box-shadow: none;
    font-size: 1rem;
    padding: 0.3rem;
}

/* ========================= */
.addAnotherTasksBtn:hover {
    background: #7d2ae8;
}
.errorlist {
    color: white;
    position: absolute;
    top: 35%;
    left: 105%;
    width: 90%;
    background: var(--button-background-color);
    padding: 1rem 0;
    border-radius: 1rem;
    text-align: center;
}
.errorlist li {
    list-style-type: none;
}
.home {
    box-sizing: border-box;
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
}
.home::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease-out;
}
.home.show::before {
    opacity: 1;
    pointer-events: auto;
}
/* From */
.form_container {
    box-sizing: border-box;
    position: fixed;
    max-width: 320px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 101;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease-out;
}
.home.show .form_container {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.signup_form {
    box-sizing: border-box;
    display: none;
}
.form_container.active .signup_form {
    box-sizing: border-box;
    display: block;
}
.form_container.active .login_form {
    box-sizing: border-box;
    display: none;
}
.form_close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #0b0217;
    font-size: 22px;
    opacity: 0.7;
    cursor: pointer;
    z-index: 1;
}
.form_close:hover {
    transform: scale(1.3);
    transition: ease-in-out 0.3s;
    color: red;
}
.form_container h2 {
    font-size: 22px;
    color: #0b0217;
    text-align: center;
}
.input_box {
    box-sizing: border-box;
    position: relative;
    margin-top: 30px;
    width: 100%;
    height: 40px;
}
.input_box input {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    padding: 0 30px;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1.5px solid #aaaaaa;
}
.input_box input:focus {
    border-color: #7d2ae8;
}
.input_box i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #707070;
}
.input_box i.email,
.input_box i.password {
    left: 0;
}
.input_box input:focus ~ i.email,
.input_box input:focus ~ i.password {
    color: #7d2ae8;
}
.input_box i.pw_hide {
    right: 0;
    font-size: 18px;
    cursor: pointer;
}
.option_field {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.form_container a {
    color: #7d2ae8;
    font-size: 12px;
}
.form_container a:hover {
    text-decoration: underline;
}

.form_container .button {
    background: var(--button-background-color);
    margin-top: 30px;
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 1.2rem;
    color: white;
    border: none;
}

.button:hover {
    background: #914ee9;
    transition: ease-in-out 0.3s;
}

.login_signup {
    box-sizing: border-box;
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
}

.result-container {
    width: 100%;
    text-align: right;
}
.totalResult {
    margin-top: 1rem;
}

.progress-block {
    width: calc((var(--task-size) * 8 + (var(--task-margin) + var(--cell-gap-size)) * 7) / 40);
    height: calc((var(--task-size) * 8 + (var(--task-margin) + var(--cell-gap-size)) * 7) / 40);
    border-right: var(--task-border);
    border-top: var(--task-border);
    border-bottom: var(--task-border);
    padding: 3px;
}

.progress-block:first-child {
    border-left: var(--task-border);
}

.progress-block::not(:last-child) {
    border-right: none;
}

.deleteUser-container {
    position: relative;
    width: 50%;
    height: 50%;
    top: 20%;
    margin: auto;
    text-align: center;
}
.deleteUserText {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: red;
}

.deleteUserBtn {
    width: 20rem;
    height: 4rem;
    background: rgb(242, 104, 104);
    color: #fff;
    font-size: 2rem;
    border: none;
    border-radius: 1rem;
}

.deleteUserBtn:hover {
    transform: scale(1.1);
    background: red;
    transition: ease-in-out 0.3s;
}

.dangerZoneActivate {
    color: red;
    font-size: small;
    cursor: pointer;
}
.dangerZoneActivate:hover {
    text-shadow: #f53636 1px 1px;
    transition: ease-in-out 0.3s;
}
.dangerZone {
    width: 14rem;
    border: 1px solid red;
    border-radius: 0.5rem;
    padding: 0.5rem 2rem;
    text-align: center;
}

.dangerZone > a {
    color: white !important;
}
.dangerZone:hover {
    background: rgb(249, 56, 56);
    color: #ffffff;
    transition: ease-in-out 0.5s;
}
.info-pre_container {
    height: 115%;
    background-size: cover !important;
    background-position: center;
    background: url("../images/back_img.png") no-repeat;
}
.forwardArrow {
    position: absolute;
    top: 50%;
    right: 10%;
}
.backwardArrow {
    position: absolute;
    top: 50%;
    left: 10%;
}
.forwardArrow img,
.backwardArrow img {
    width: 2.5rem;
    height: auto;
    opacity: .5;
}
.backwardArrow img {
    transform: rotate(180deg);
}
.forwardArrow img:hover,
.backwardArrow img:hover {
    opacity: 1;
    transition: ease-in .3s;
}

.info-container {
    position: relative;
    width: 45%;
    top: 2%;
    margin: auto;
    padding: 2rem;
}

.info > span,
.authorInfo > span,
.info > p > span,
.authorInfo > p > span {
    font-size: 1.5rem;
    line-height: 1rem;
}
.authorInfo > p,
.info > p {
    padding: 0.5rem 0 1.5rem 0;
    text-align: justify;
    text-indent: 2rem;
}
.info > blockquote {
    text-align: end;
}

.index-container {
    width: 100%;
    height: 110%;
    overflow: hidden;
    overflow-y: hidden;
    text-align: center;
    background: url("../images/air_baloon.jpg") no-repeat;
    background-size: cover;
}
.index-container__wrapper {
  /* height: 100vh; */
  /*This part is important for centering*/
  width: 80%;
  height: 80%;
  /* position: absolute; */
  /* top: 40%; */
  /* left: 20%; */
  display: grid;
  place-items: center;
}

.typing-demo {
  width: 23ch;
  animation: typing 3s steps(21), blink .9s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-size: 2.2rem;
  font-family: "Muli", sans-serif;
}
.typing-demo-second_text {
    position: absolute;
    top: 55%;
    left: 10%;
    width: 45ch;
    height: 3rem;
    animation: typing 5s steps(48), blink .9s step-end infinite alternate;
    border-right: 3px solid;
    white-space: nowrap;
    font-size: 2.2rem;
    overflow: hidden;

    font-family: "Muli", sans-serif;
}

@keyframes typing {
  from {
    width: 0
  }
}
    
@keyframes blink {
  50% {
    border-color: transparent
  }
}
.sendEmailBtn {
    padding: 1rem;
    background: transparent;
    border: 1px solid rgb(89, 143, 245);
    border-radius: 1rem;
    margin: 2rem 0 2rem 2rem;
}
.sendEmailBtn:hover {
    background: rgb(89, 143, 245);
    transition: ease-in-out .3s;
}
/* .emailTextData {
    width: 100%;
    border: 1px solid rgb(89, 143, 245);
    background: transparent;
    margin-left: 0 2rem;
} */
#id_body {
    width: 100%;
    height: 3.5rem;
    border: 1px solid rgb(89, 143, 245);
    background: transparent;
    margin-left: 0 2rem;
    padding: 1rem;
}
@media (max-width: 391px) {
    .profile-frame__left {
        display: none;
    }
    .nav {
        width: 100%;
        display: ruby-text;
        padding: 0 15px 0 15px;
    }
    .nav-container {
        margin: auto;
    }
    .header__item-container {
        grid-template-columns: 40% 60%;
    }
    .profile-frame__right__tasks-container {
        gap: 1;
    }
    .main {
        left: 0;
        width: 100%;
    }
    .task > p {
        font-size: xx-small;
        padding: 0;
    }
    .task {
        width: 35px;
        height: 35px;
    }
    .profile {
        margin-top: 35px;
    }
    .addTaskBtn {
        top: 5px;
        left: 5px;
    }
    .info-container {
        width: auto;
    }
    .profile-frame {
        grid-template-columns: 99% 1% !important;
    }
    .titleText {
        font-size: large !important;
    }
    .task-change-frame-container,
    .task_add-frame,
    .one-task-frame {
        width: 100% !important;
    }
    .task-change-frame {
        width: 100% !important;
        padding: 15px 0 15px 0 !important;
    }
    .row {
        margin-right: 15px;
    }
    .task_add-frame {
        padding: 5px;
    }
    .task_add-frame__card {
        width: 95%;
    }
    .endedDate {
        top: 20px !important;
    }
    .one-task-frame__item-description {
        height: 80px !important;
    }
    .one-task-frame__item-firstImg {
        position: sticky !important;
    }
    .profile-change-frame {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        top: -15px !important;
    }
    .saveBtn {
        padding: 5px !important;
    }
}

@media (max-width: 845px) {
    .header {
        height: 11vh;
    }
    .profile-frame__left__avatar {
        width: 130px !important;
        height: 130px !important;
    }
    .main {
        left: 0;
        width: 100%;
    }
     .task {
        width: 35px;
        height: 35px;
    }
    .task > p {
        font-size: xx-small;
        padding: 0;
    }
    .addTaskBtn {
        top: 5px;
        left: 5px;
    }
    .footer {
        display: none;
    }
    .border-bottom {
        border-bottom: none;
    }
    .one-task-frame__item-title {
        padding: 0 !important;
    }
    .one-task-frame__item-firstImg,
    .one-task-frame__item-endImg {
        display: none;
    }
    .one-task-frame__item-description {
        height: 40px !important;
    }
    .doneBtn {
        bottom: -100px !important;
    }
    .doneBtn img {
        width: 50% !important;
        height: 50% !important;
    }
}